def multiply(args):
    sum = 1
    for i in args:
        sum = sum * i
    return sum


aa = int(input("请输入你要乘几个数："))
args = []
bb = 1
while bb <= aa:
    num = int(input("请输入你要乘的第{}个数：".format(bb)))
    args.append(num)
    bb = bb + 1
cc = multiply(args)
print("积是{}".format(cc))